package com.cn.ysf.newbeemall.service;

import com.cn.ysf.newbeemall.controller.vo.NewBeeMallIndexCarouselVO;
import com.cn.ysf.newbeemall.pojo.TbNewbeeMallCarousel;

import java.util.List;

public interface NewBeeMallCarouselService {

    TbNewbeeMallCarousel getCarouselById(Long id);

    /**
     * 返回固定数量的轮播图对象(首页调用)
     * @param number
     * @return
     */
    List<NewBeeMallIndexCarouselVO> getCarouselsForIndex(Long number);

}
